Quick Navigation All projects Hardware Links Top projectsAlan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector GitHubAlanFromJapan Contact me![]() Who's Alan?Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
clapclap 1386Last update: Sat Jan 10 23:04:53 2026
This is the ATtiny13 and LM386 version. You can check also the Clapclap 2313 which is based on ATtiny2313 and a Holtek HT82V739, or if you're really curious the original one Clapclap with ATmega328.Changes compared to previous versionsCompared to the original Clapclap 2313 here are the main changes:
What's inside / Parts list
AssemblyBy default you should program your Attiny13 and then put it into its IC socket, and you're done.No programming after assemblyIf you don't plan to program the Attiny13 after you put it in the board:
Programming after assemblyYou put everything into place, and then you decide to change the timing of claps, or you want 3 on the row, or you want to make an auto-turn off ... whatever, you want to change the code, and you want to do it on the board ('cause you're cheap like me and you skipped the IC socket). How do you do that ?
Putting and removing the jumpers is a pain in the neck, but that's the price to pay of having a small micro controller, I had to share pins for many functions. Is there a better way to design this ? I'd be happy to hear that so please teach me. CodeOn GitHub.BoardMax powerThe power max the bord can drive is (according calculations here), is about 4- amps (making a 10 degrees temperature raise):SchematicsOn GitHub too. Look at files Clapclap1386.*.
Points of interrest
Alternate version : a smart footswitchReplace the mic by a cheap footswitch, drop the LM386, a few airwires. Now the switch turns on after a long press only, and turns off on a simple click (for safety).![]() Code (Eclipse project) on my GitHub repo. ![]()
Pictures![]() Board assembled without the relay though. Working fine, just J1 and J2 needed to program it. |
|
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2026]) |
|